package com.wzh.mall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

/**
 * @program: mall
 * @description:
 * @author: Mr.Wang
 * @create: 2021-09-13 14:48
 **/
@ConfigurationProperties(prefix = "mall.thread")
@Component
@Data
@Primary
public class ThreadPoolConfigProperties {

    private Integer coreSize=10;
    private Integer maxSize=100;
    private Integer keepAliveTime=10;

}
